package org.skydiveapplibrary.data;

import java.util.ArrayList;
import java.util.List;

import org.skydiveapplibrary.R;

public enum MoreCategory
{
	Locations (R.string.more_location),
	SkydiveTypes (R.string.more_skydive_types),
	Aircraft (R.string.more_aircraft),
	WingLoadCalculator (R.string.more_wing_load_calculator),
	ImportExport (R.string.more_import_export),
	Settings (R.string.more_settings);
	
	private int resourceId;
	
	MoreCategory(int resourceId)
	{
		this.resourceId = resourceId;
	}
	
	public int getResourceId()
	{
		return resourceId; 
	}
	
	public static List<MoreCategory> getItems()
	{
		List<MoreCategory> items = new ArrayList<MoreCategory>();
		for (MoreCategory item: MoreCategory.values())
		{
			items.add(item);
		}
		
		return items;
	}
}
